summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nbd.h
diff options
context:
space:
mode:
authorChristoph Hellwig2015-04-17 22:37:21 +0200
committerJens Axboe2015-05-05 21:40:44 +0200
commit9dc6c806b3c4812619e305685b3c86835bf784ab (patch)
tree1b7f66ea2ba1a6cb3089a22e12df1b291446c7b1 /include/uapi/linux/nbd.h
parentblock: move PM request support to IDE (diff)
downloadkernel-qcow2-linux-9dc6c806b3c4812619e305685b3c86835bf784ab.tar.gz
kernel-qcow2-linux-9dc6c806b3c4812619e305685b3c86835bf784ab.tar.xz
kernel-qcow2-linux-9dc6c806b3c4812619e305685b3c86835bf784ab.zip
nbd: stop using req->cmd
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/uapi/linux/nbd.h')
-rw-r--r--include/uapi/linux/nbd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/nbd.h b/include/uapi/linux/nbd.h
index 4f52549b23ff..e08e413d5f71 100644
--- a/include/uapi/linux/nbd.h
+++ b/include/uapi/linux/nbd.h
@@ -44,8 +44,6 @@ enum {
/* there is a gap here to match userspace */
#define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */
-#define nbd_cmd(req) ((req)->cmd[0])
-
/* userspace doesn't need the nbd_device structure */
/* These are sent over the network in the request/reply magic fields */