sd: avoid set but not used errors
commit4056971091fa0b3db7aeb88c2caa4ffa7963aaa5
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tue, 14 Aug 2018 19:33:05 +0000 (14 15:33 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tue, 4 Sep 2018 12:32:48 +0000 (4 08:32 -0400)
treea96b0811430b9a1cb87cfa9b4d7a5e55e98df1e2
parent29cf31968b7bcfc9df8b0e1ed4360c6a93ed9d68
sd: avoid set but not used errors

Use VERIFY()s instead of just squelching the warning - if things failed
it's better to panic rather than just plow ahead with assuming
everything is ok.
kernel/drivers/scsi/targets/sd/sd.c