diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2015-10-23 01:09:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 18:34:23 -0700 |
commit | 4cd1a64a3b2a1290e6abb560db0dcc8260d1e274 (patch) | |
tree | 816dad620f861a8c6bb624abced14ea7120193df /drivers/staging/mt29f_spinand | |
parent | 74f63bd664b68efdb5b81db8c39765430206f394 (diff) |
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>
Diffstat (limited to 'drivers/staging/mt29f_spinand')
-rw-r--r-- | drivers/staging/mt29f_spinand/mt29f_spinand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c b/drivers/staging/mt29f_spinand/mt29f_spinand.c index 3d1696c8e9e5..a8292a1a8e41 100644 --- a/drivers/staging/mt29f_spinand/mt29f_spinand.c +++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c @@ -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; } |