aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd33c93.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:06:34 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:09:04 -0800
commita5d361fc24b75ea51e219367ee32c64422a2134f (patch)
treea81fe8cae7e440b97fe9114ee10af7b9ff5625da /drivers/scsi/wd33c93.c
parent031eb4cddec7a4825212ece47de4bd64cd8e0bee (diff)
downloadkernel_samsung_espresso10-a5d361fc24b75ea51e219367ee32c64422a2134f.zip
kernel_samsung_espresso10-a5d361fc24b75ea51e219367ee32c64422a2134f.tar.gz
kernel_samsung_espresso10-a5d361fc24b75ea51e219367ee32c64422a2134f.tar.bz2
[PATCH] m68k: NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/wd33c93.c')
-rw-r--r--drivers/scsi/wd33c93.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c
index fd63add..fb53eea 100644
--- a/drivers/scsi/wd33c93.c
+++ b/drivers/scsi/wd33c93.c
@@ -465,7 +465,7 @@ wd33c93_execute(struct Scsi_Host *instance)
*/
cmd = (struct scsi_cmnd *) hostdata->input_Q;
- prev = 0;
+ prev = NULL;
while (cmd) {
if (!(hostdata->busy[cmd->device->id] & (1 << cmd->device->lun)))
break;
@@ -1569,7 +1569,7 @@ wd33c93_abort(struct scsi_cmnd * cmd)
*/
tmp = (struct scsi_cmnd *) hostdata->input_Q;
- prev = 0;
+ prev = NULL;
while (tmp) {
if (tmp == cmd) {
if (prev)