Tag: d01efceeea99d91022e14aa4169857b1256bcba5

drbd: Deletion of an unnecessary check before the function call “lc_destroy”

Author: Markus Elfring <elfring@users.sourceforge.net> The lc_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Roland Kammerer Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe — drivers/block/drbd/drbd_nl.c | 3 +– …

Continue reading