ocfs2: Don't check for NULL before brelse()

This is pointless as brelse() already does the check.

Signed-off-by: Mark Fasheh
This commit is contained in:
Mark Fasheh
2008-10-07 14:25:16 -07:00
rodzic fd8351f83d
commit a81cb88b64
12 zmienionych plików z 74 dodań i 147 usunięć

Wyświetl plik

@@ -158,8 +158,7 @@ bail:
kunmap(page);
page_cache_release(page);
}
if (bh)
brelse(bh);
brelse(bh);
return ERR_PTR(status);
}