projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Remove uninitialized_var() usage
[linux-block.git]
/
drivers
/
ide
/
ide-sysfs.c
diff --git
a/drivers/ide/ide-sysfs.c
b/drivers/ide/ide-sysfs.c
index b9dfeb2e8bd6603c20dc9e02554adc0eff6ed72c..c08a8a0916e220853bfcfcc10c31e1e88d4bcda0 100644
(file)
--- a/
drivers/ide/ide-sysfs.c
+++ b/
drivers/ide/ide-sysfs.c
@@
-131,7
+131,7
@@
static struct device_attribute *ide_port_attrs[] = {
int ide_sysfs_register_port(ide_hwif_t *hwif)
{
- int i,
uninitialized_var(rc)
;
+ int i,
rc
;
for (i = 0; ide_port_attrs[i]; i++) {
rc = device_create_file(hwif->portdev, ide_port_attrs[i]);