crypto: hisilicon/zip - fix the uninitalized 'curr_qm_qp_num'
[linux-2.6-microblaze.git] / drivers / scsi / ppa.c
index a406cc8..0ae800c 100644 (file)
@@ -779,7 +779,6 @@ static int ppa_engine(ppa_struct *dev, struct scsi_cmnd *cmd)
                            (DID_OK << 16) + (h << 8) + (l & STATUS_MASK);
                }
                return 0;       /* Finished */
-               break;
 
        default:
                printk(KERN_ERR "ppa: Invalid scsi phase\n");
@@ -847,10 +846,8 @@ static int ppa_abort(struct scsi_cmnd *cmd)
        case 1:         /* Have not connected to interface */
                dev->cur_cmd = NULL;    /* Forget the problem */
                return SUCCESS;
-               break;
        default:                /* SCSI command sent, can not abort */
                return FAILED;
-               break;
        }
 }