diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-11-23 19:11:32 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-12-10 10:38:57 -0500 |
commit | f98c8f797021e78ba27143ecd39c51995c47aa8b (patch) | |
tree | 790bba6c2e7acae814300fe5cae09fa01e3d9080 /drivers/md/Kconfig | |
parent | 313c9b97361fca3a606fc74de86bee6dc7988bca (diff) | |
download | linux-f98c8f797021e78ba27143ecd39c51995c47aa8b.tar.bz2 |
dm bufio: return NULL to improve code clarity
A small code cleanup in new_read() - return NULL instead of b (although
b is NULL at this point). This function is not returning pointer to the
buffer, it is returning a pointer to the bufffer's data, thus it makes
no sense to return the variable b.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions