Staging: mt29f_spinand: Remove redundant cast on 'retval'
Remove the unneeded cast to 'int' since 'retval' is originally declared as 'int'. Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
74f63bd664
commit
4cd1a64a3b
|
@ -595,7 +595,7 @@ static int spinand_erase_block(struct spi_device *spi_nand, u16 block_id)
|
|||
if (retval < 0) {
|
||||
dev_err(&spi_nand->dev,
|
||||
"error %d reading status register\n",
|
||||
(int)retval);
|
||||
retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue