mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 00:29:36 -04:00
staging: qlge: qlge_mpi.c: remove an unneeded variable
Remove unneeded temporary local variable, cleanup suggested by coccinelle. Signed-off-by: Payal Kshirsagar <payalskshirsagar1234@gmail.com> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Link: https://lore.kernel.org/r/20200312190624.24167-3-payalskshirsagar1234@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cedce08c5f
commit
d66186b179
@@ -90,10 +90,7 @@ int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data)
|
||||
|
||||
int ql_soft_reset_mpi_risc(struct ql_adapter *qdev)
|
||||
{
|
||||
int status;
|
||||
|
||||
status = ql_write_mpi_reg(qdev, 0x00001010, 1);
|
||||
return status;
|
||||
return ql_write_mpi_reg(qdev, 0x00001010, 1);
|
||||
}
|
||||
|
||||
/* Determine if we are in charge of the firwmare. If
|
||||
|
||||
Reference in New Issue
Block a user