summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Randazzo <benjamin@randazzo.fr>2015-07-25 14:36:50 (GMT)
committerNeilBrown <neilb@suse.com>2015-08-03 07:12:44 (GMT)
commit25eafe1a813681849ad3fb9effdfdce3e1b4335a (patch)
treede118361423a3140511be6c5aa820c6d482f1260 /lib
parent49895bcc7e566ba455eb2996607d6fbd3447ce16 (diff)
downloadlinux-25eafe1a813681849ad3fb9effdfdce3e1b4335a.tar.xz
md: simplify get_bitmap_file now that "file" is zeroed.
There is no point assigning '\0' to file->pathname[0] as file is now zeroed out, so remove that branch and simplify the code. [Original patch combined this with the change to use kzalloc. I split the two so that the change to kzalloc is easier to backport. - neilb] Signed-off-by: Benjamin Randazzo <benjamin@randazzo.fr> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions