scsi: aacraid: remove redundant setting of variable c
[pandora-kernel.git] / drivers / scsi / aacraid / aachba.c
index 7170d39..29ffc65 100644 (file)
@@ -784,11 +784,8 @@ static void setinqstr(struct aac_dev *dev, void *data, int tindex)
                while (*cp == ' ')
                        ++cp;
                /* last six chars reserved for vol type */
-               c = 0;
-               if (strlen(cp) > sizeof(str->pid)) {
-                       c = cp[sizeof(str->pid)];
+               if (strlen(cp) > sizeof(str->pid))
                        cp[sizeof(str->pid)] = '\0';
-               }
                inqstrcpy (cp, str->pid);
 
                kfree(cname);