summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorAl Viro2011-07-07 21:45:59 +0200
committerAl Viro2011-07-20 07:44:21 +0200
commite7f59097071f2e193e900093742a4be85839f3d9 (patch)
tree35cc747b65d29fdc4f6dea472bf75b540da20453 /drivers/block
parentbtrfs: kill magical embedded struct superblock (diff)
downloadkernel-qcow2-linux-e7f59097071f2e193e900093742a4be85839f3d9.tar.gz
kernel-qcow2-linux-e7f59097071f2e193e900093742a4be85839f3d9.tar.xz
kernel-qcow2-linux-e7f59097071f2e193e900093742a4be85839f3d9.zip
kill useless checks for sb->s_op == NULL
never is... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/pktcdvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 07a382eaf0a8..e133f094ab08 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -1206,7 +1206,7 @@ static int pkt_start_recovery(struct packet_data *pkt)
if (!sb)
return 0;
- if (!sb->s_op || !sb->s_op->relocate_blocks)
+ if (!sb->s_op->relocate_blocks)
goto out;
old_block = pkt->sector / (CD_FRAMESIZE >> 9);