skd: Remove ESXi code
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:12:50 +0000 (13:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
Since the code guarded by #ifdef SKD_VMK_POLL_HANDLER / #endif
is never built on Linux systems, remove it.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c

index 06544f58dc73e4644530f099ad663343aa535e8b..74489da762a1be820fe4e02de6544060d7595ebc 100644 (file)
@@ -4777,20 +4777,6 @@ static int skd_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                goto err_out_timer;
        }
 
-
-#ifdef SKD_VMK_POLL_HANDLER
-       if (skdev->irq_type == SKD_IRQ_MSIX) {
-               /* MSIX completion handler is being used for coredump */
-               vmklnx_scsi_register_poll_handler(skdev->scsi_host,
-                                                 skdev->msix_entries[5].vector,
-                                                 skd_comp_q, skdev);
-       } else {
-               vmklnx_scsi_register_poll_handler(skdev->scsi_host,
-                                                 skdev->pdev->irq, skd_isr,
-                                                 skdev);
-       }
-#endif  /* SKD_VMK_POLL_HANDLER */
-
        return rc;
 
 err_out_timer: