scsi: target: pscsi: Remove unused macro ISPRINT
Remove unused macro to fix the following compilation warning: drivers/target//target_core_pscsi.c:37: warning: macro "ISPRINT" is not used [-Wunused-macros] #define ISPRINT(a) ((a >= ' ') && (a <= '~')) Link: https://lore.kernel.org/r/20210228055645.22253-7-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>
This commit is contained in:
parent
fd48c056a3
commit
2c958a8c1f
|
@ -34,8 +34,6 @@
|
|||
#include "target_core_internal.h"
|
||||
#include "target_core_pscsi.h"
|
||||
|
||||
#define ISPRINT(a) ((a >= ' ') && (a <= '~'))
|
||||
|
||||
static inline struct pscsi_dev_virt *PSCSI_DEV(struct se_device *dev)
|
||||
{
|
||||
return container_of(dev, struct pscsi_dev_virt, dev);
|
||||
|
|
Loading…
Reference in New Issue