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 <[email protected]> Signed-off-by: Zhiqiang Liu <[email protected]> Signed-off-by: Wu Bo <[email protected]> --- iscsiuio/src/unix/iscsid_ipc.c | 3 --- 1 file changed, 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" -- 2.27.0 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/open-iscsi/20201207015410.48488-12-haowenchao%40huawei.com.
