Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: target: iscsi: Remove unused macro TEXT_LEN

Remove unused macro to fix the following compilation warning:

drivers/target//iscsi/iscsi_target_nego.c:31: warning: macro "TEXT_LEN" is not used [-Wunused-macros]
#define TEXT_LEN 4096

Link: https://lore.kernel.org/r/20210228055645.22253-11-chaitanya.kulkarni@wdc.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Chaitanya Kulkarni and committed by
Martin K. Petersen
91ce84a3 fdc1339a

-1
-1
drivers/target/iscsi/iscsi_target_nego.c
··· 28 28 #include "iscsi_target_auth.h" 29 29 30 30 #define MAX_LOGIN_PDUS 7 31 - #define TEXT_LEN 4096 32 31 33 32 void convert_null_to_semi(char *buf, int len) 34 33 {