scsi: fnic: Remove set but not used variable 'vdev'
[linux-2.6-microblaze.git] / drivers / scsi / fnic / vnic_wq.c
index 74cfc56..015af2c 100644 (file)
@@ -47,12 +47,9 @@ int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq,
 static int vnic_wq_alloc_bufs(struct vnic_wq *wq)
 {
        struct vnic_wq_buf *buf;
-       struct vnic_dev *vdev;
        unsigned int i, j, count = wq->ring.desc_count;
        unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count);
 
-       vdev = wq->vdev;
-
        for (i = 0; i < blks; i++) {
                wq->bufs[i] = kzalloc(VNIC_WQ_BUF_BLK_SZ, GFP_ATOMIC);
                if (!wq->bufs[i]) {