diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-17 22:37:21 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-05 13:40:44 -0600 |
commit | 9dc6c806b3c4812619e305685b3c86835bf784ab (patch) | |
tree | 1b7f66ea2ba1a6cb3089a22e12df1b291446c7b1 /include/uapi/linux/nbd.h | |
parent | a7928c1578c550bd6f4dec62d65132e6db226c57 (diff) |
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.h | 2 |
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 */ |