]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/dpt_i2o.c
scsi: fix integer as NULL pointer warnings
[karo-tx-linux.git] / drivers / scsi / dpt_i2o.c
index c9dd8392aab20f138916d6b46150aba96b336483..ac92ac143b46783bc9df6323bcfee84680189e8f 100644 (file)
@@ -153,7 +153,7 @@ static DEFINE_SPINLOCK(adpt_post_wait_lock);
 
 static u8 adpt_read_blink_led(adpt_hba* host)
 {
-       if(host->FwDebugBLEDflag_P != 0) {
+       if (host->FwDebugBLEDflag_P) {
                if( readb(host->FwDebugBLEDflag_P) == 0xbc ){
                        return readb(host->FwDebugBLEDvalue_P);
                }