projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff14a3
)
dm table: drop void suspend_targets return
author
Adrian Bunk
<bunk@kernel.org>
Thu, 24 Apr 2008 21:10:51 +0000
(22:10 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 25 Apr 2008 12:26:59 +0000
(13:26 +0100)
void returning functions returned the return value of another void
returning function...
Spotted by sparse.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-table.c
b/drivers/md/dm-table.c
index e75b1437b58b67ad8ecac097d6b3c50e9bf0b2ba..fc261c81d736c8e4ae0189dbd268fc7a1bf3e801 100644
(file)
--- a/
drivers/md/dm-table.c
+++ b/
drivers/md/dm-table.c
@@
-954,7
+954,7
@@
void dm_table_presuspend_targets(struct dm_table *t)
if (!t)
return;
-
return
suspend_targets(t, 0);
+ suspend_targets(t, 0);
}
void dm_table_postsuspend_targets(struct dm_table *t)
@@
-962,7
+962,7
@@
void dm_table_postsuspend_targets(struct dm_table *t)
if (!t)
return;
-
return
suspend_targets(t, 1);
+ suspend_targets(t, 1);
}
int dm_table_resume_targets(struct dm_table *t)