diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 86ba0e2b1..ad56b8b75 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -4374,7 +4374,7 @@ void scst_cmd_tasklet(long p) */ static int scst_mgmt_translate_lun(struct scst_mgmt_cmd *mcmd) { - struct scst_tgt_dev *tgt_dev = NULL; + struct scst_tgt_dev *tgt_dev; struct list_head *head; int res = -1;