From: Jeff Layton Date: Fri, 16 Jan 2015 20:05:58 +0000 (-0500) Subject: locks: consolidate NULL i_flctx checks in locks_remove_file X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~143^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8e560de4a076b302cb0cc17e998aaace2b176a;p=pandora-kernel.git locks: consolidate NULL i_flctx checks in locks_remove_file We have each of the locks_remove_* variants doing this individually. Have the caller do it instead, and have locks_remove_flock and locks_remove_lease just assume that it's a valid pointer. Signed-off-by: Jeff Layton --- Reading git-diff-tree failed