summaryrefslogtreecommitdiff
path: root/iscsiuio
diff options
context:
space:
mode:
authorWenchao Hao <haowenchao@huawei.com>2020-12-02 15:16:04 +0800
committerWenchao Hao <haowenchao@huawei.com>2020-12-12 11:44:36 +0800
commit289e2b96a5febce1fe10eb3a61d052f1878ae2a9 (patch)
tree6022fd3f5af4630cac34fe9bd522be11022e5206 /iscsiuio
parent612629a2ee617dd72f21c5f66916e855fc925d77 (diff)
downloadopen-iscsi-289e2b96a5febce1fe10eb3a61d052f1878ae2a9.tar.gz
iscsiuio: Remove unused macro IFNAMSIZ defined in iscsid_ipc.c
IFNAMSIZ is not used in this file. IFNAMSIZ is a macro defined in net/if.h. Maybe this this macro is defined here to give it a self defined value rather than system pre-defined at beginning, while it seems the code reference the macro in this file is removed, so here we can remove it. Signed-off-by: Wenchao Hao <haowenchao@huawei.com> Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Signed-off-by: Wu Bo <wubo40@huawei.com>
Diffstat (limited to 'iscsiuio')
-rw-r--r--iscsiuio/src/unix/iscsid_ipc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c
index 2acac48..ea03d37 100644
--- a/iscsiuio/src/unix/iscsid_ipc.c
+++ b/iscsiuio/src/unix/iscsid_ipc.c
@@ -54,9 +54,6 @@
#define PFX "iscsi_ipc "
-/* TODO fix me */
-#define IFNAMSIZ 15
-
#include "nic.h"
#include "nic_utils.h"
#include "nic_vlan.h"