]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pcifront: Removed unnecessary __ref annotation
authorSergio Miguéns Iglesias <lonyelon@gmail.com>
Mon, 30 Aug 2021 17:53:05 +0000 (19:53 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 1 Sep 2021 08:38:42 +0000 (10:38 +0200)
commitf956c1b0d58a50dd92ec82ae4923f7cc97e2ea52
tree95f20c9172754fc0ae24261ffe0b3efbd3ed65dc
parent1a0df28c09831dc4bd336fe6e090bbe85a07e79f
xen/pcifront: Removed unnecessary __ref annotation

An unnecessary "__ref" annotation was removed from the
"drivers/pci/xen_pcifront.c" file. The function where the annotation
was used was "pcifront_backend_changed()", which does not call any
functions annotated as "__*init" nor "__*exit". This makes "__ref"
unnecessary since this annotation is used to make the compiler ignore
section miss-matches when they are not happening here in the first
place.

In addition to the aforementioned change, some code style issues were
fixed in the same file.

Signed-off-by: Sergio Miguéns Iglesias <sergio@lony.xyz>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210830175305.13370-1-sergio@lony.xyz
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/pci/xen-pcifront.c