Fix few minor issues found by Clang Analyzer.
MFC after: 2 weeks
This commit is contained in:
parent
3b29339863
commit
e9da70a35e
@ -2662,7 +2662,8 @@ isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags
|
||||
break;
|
||||
}
|
||||
if (msg) {
|
||||
isp_prt(isp, ISP_LOGERR, "Chan %d PLOGX PortID 0x%06x to N-Port handle 0x%x: %s", chan, portid, handle, msg);
|
||||
isp_prt(isp, lev, "Chan %d PLOGX PortID 0x%06x to N-Port handle 0x%x: %s",
|
||||
chan, portid, handle, msg);
|
||||
}
|
||||
return (rval);
|
||||
}
|
||||
|
@ -3779,7 +3779,6 @@ isp_async(ispsoftc_t *isp, ispasync_t cmd, ...)
|
||||
nlstate = reason = 0;
|
||||
}
|
||||
va_end(ap);
|
||||
fc = ISP_FC_PC(isp, bus);
|
||||
|
||||
if (evt == ISPASYNC_CHANGE_PDB) {
|
||||
msg = "Port Database Changed";
|
||||
|
Loading…
Reference in New Issue
Block a user