Messages in this thread Patch in this message | | | From | Dongli Zhang <> | Subject | [PATCH 2/2] nbd: remove unused 'NBD_MAGIC' | Date | Sun, 31 May 2020 18:16:02 -0700 |
| |
Remove 'NBD_MAGIC' as it is not used since commit 5ea8d10802ec ("nbd: separate out the config information").
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> --- drivers/block/nbd.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 74c1363702f5..83435ce141a8 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -141,8 +141,6 @@ static struct dentry *nbd_dbg_dir; #define nbd_name(nbd) ((nbd)->disk->disk_name) -#define NBD_MAGIC 0x68797548 - #define NBD_DEF_BLKSIZE 1024 static unsigned int nbds_max = 16; -- 2.17.1
| |