2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00

staging: slicoss: remove default case after we done with request_firmware

we are returning -ENOENT when there is no firmware file for a matching
device id. then we start calling request_firmware,
after this we do checks on the firmware length of corresponding
device id, since the default case is handled in the begining itself
there is no need of a default case at the firmware length checks

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Devendra Naga 2012-09-05 15:33:46 +05:30 committed by Greg Kroah-Hartman
parent e5d2cb4a0b
commit 92adcc8057

View File

@ -539,9 +539,6 @@ static int slic_card_download_gbrcv(struct adapter *adapter)
return -EINVAL;
}
break;
default:
ASSERT(0);
break;
}
/* start download */
slic_reg32_write(&slic_regs->slic_rcv_wcs, SLIC_RCVWCS_BEGIN, FLUSH);