Commit dd0c642
fsdax: remove redundant variable 'error'
The variable 'error' is being assigned a value that is never read,
the assignment and the variable and redundant and can be removed.
Cleans up clang scan build warning:
fs/dax.c:1880:10: warning: Although the value stored to 'error' is
used in the enclosing expression, the value is never actually read
from 'error' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20230621130256.2676126-1-colin.i.king@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>1 parent 2532f41 commit dd0c642
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | | - | |
1834 | 1833 | | |
1835 | 1834 | | |
1836 | 1835 | | |
| |||
1877 | 1876 | | |
1878 | 1877 | | |
1879 | 1878 | | |
1880 | | - | |
| 1879 | + | |
1881 | 1880 | | |
1882 | 1881 | | |
1883 | 1882 | | |
| |||
0 commit comments