summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/xen-scsifront.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2022-04-28 09:01:02 +0200
committerJuergen Gross <jgross@suse.com>2022-05-19 14:21:42 +0200
commit70920be6ff0d7abe92311a678cb6c84fcec658ca (patch)
tree7b271d6333f1a7612fe4c349ce19df808643f8b8 /drivers/scsi/xen-scsifront.c
parentxen/netfront: switch netfront to use INVALID_GRANT_REF (diff)
downloadlinux-70920be6ff0d7abe92311a678cb6c84fcec658ca.tar.xz
linux-70920be6ff0d7abe92311a678cb6c84fcec658ca.zip
xen/scsifront: remove unused GRANT_INVALID_REF definition
GRANT_INVALID_REF isn't used in scsifront, so remove it. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/scsi/xen-scsifront.c')
-rw-r--r--drivers/scsi/xen-scsifront.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/xen-scsifront.c b/drivers/scsi/xen-scsifront.c
index 56173beecbc6..4c55e479fc36 100644
--- a/drivers/scsi/xen-scsifront.c
+++ b/drivers/scsi/xen-scsifront.c
@@ -58,9 +58,6 @@
#include <asm/xen/hypervisor.h>
-
-#define GRANT_INVALID_REF 0
-
#define VSCSIFRONT_OP_ADD_LUN 1
#define VSCSIFRONT_OP_DEL_LUN 2
#define VSCSIFRONT_OP_READD_LUN 3