mvs: Eliminate unused variable.
ccim is unused. Just remove it. PR: 271920 Sponsored by: Netflix
This commit is contained in:
parent
553022aba5
commit
17dce737e3
@ -208,7 +208,7 @@ static int
|
||||
mvs_ctlr_setup(device_t dev)
|
||||
{
|
||||
struct mvs_controller *ctlr = device_get_softc(dev);
|
||||
int ccc = ctlr->ccc, cccc = ctlr->cccc, ccim = 0;
|
||||
int ccc = ctlr->ccc, cccc = ctlr->cccc;
|
||||
|
||||
/* Mask chip interrupts */
|
||||
ATA_OUTL(ctlr->r_mem, CHIP_SOC_MIM, 0x00000000);
|
||||
@ -225,8 +225,6 @@ mvs_ctlr_setup(device_t dev)
|
||||
ccc *= 150;
|
||||
ATA_OUTL(ctlr->r_mem, HC_ICT, cccc);
|
||||
ATA_OUTL(ctlr->r_mem, HC_ITT, ccc);
|
||||
if (ccc)
|
||||
ccim |= IC_HC0_COAL_DONE;
|
||||
/* Enable chip interrupts */
|
||||
ctlr->gmim = ((ccc ? IC_HC0_COAL_DONE :
|
||||
(IC_DONE_HC0 & CHIP_SOC_HC0_MASK(ctlr->channels))) |
|
||||
|
Loading…
Reference in New Issue
Block a user