1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00

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>
This commit is contained in:
Randy Dunlap 2023-12-19 22:02:46 -08:00 committed by Rafael J. Wysocki
parent e0f4bd26e2
commit dadce3fbaf

View file

@ -1566,7 +1566,6 @@ int swsusp_check(bool exclusive)
/**
* swsusp_close - close resume device.
* @exclusive: Close the resume device which is exclusively opened.
*/
void swsusp_close(void)