summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2008-01-24 03:35:31 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2008-01-26 00:05:48 +0100
commit2fe5c1d7eb88830b09c863a4b5b3279dc120f3af (patch)
treec04e3249e3ae14f935ae1d090cd88833c96e6e3b /drivers/media/video/saa7134
parentocfs2: document access rules for blocked_lock_list (diff)
downloadlinux-2fe5c1d7eb88830b09c863a4b5b3279dc120f3af.tar.xz
linux-2fe5c1d7eb88830b09c863a4b5b3279dc120f3af.zip
ocfs2: clean up bh null checks
If we know a buffer_head is non-null, then brelse() is unnecessary and put_bh() can be used instead. Also, an explicit check for NULL is unnecessary when using brelse(). This patch only covers buffer_head_io.c and resize.c, which have recently added code which exhibits this problem. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'drivers/media/video/saa7134')
0 files changed, 0 insertions, 0 deletions