lkml.org 
[lkml]   [2020]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] nbd: remove unused 'NBD_MAGIC'
Date
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
\
 
 \ /
  Last update: 2020-06-01 03:27    [W:0.032 / U:8.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site