Skip to content

Commit dadce3f

Browse files
rddunlaprafaeljw
authored andcommitted
PM: hibernate: Repair excess function parameter description warning
Function swsusp_close() does not have any parameters, so remove the description of parameter @exclusive to prevent this warning. swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent e0f4bd2 commit dadce3f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/power/swap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,6 @@ int swsusp_check(bool exclusive)
15661566

15671567
/**
15681568
* swsusp_close - close resume device.
1569-
* @exclusive: Close the resume device which is exclusively opened.
15701569
*/
15711570

15721571
void swsusp_close(void)

0 commit comments

Comments
 (0)