diff options
author | Sergio Miguéns Iglesias <lonyelon@gmail.com> | 2021-08-30 19:53:05 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-09-01 10:38:42 +0200 |
commit | f956c1b0d58a50dd92ec82ae4923f7cc97e2ea52 (patch) | |
tree | 95f20c9172754fc0ae24261ffe0b3efbd3ed65dc /.gitattributes | |
parent | x86: xen: platform-pci-unplug: use pr_err() and pr_warn() instead of raw prin... (diff) | |
download | linux-f956c1b0d58a50dd92ec82ae4923f7cc97e2ea52.tar.xz linux-f956c1b0d58a50dd92ec82ae4923f7cc97e2ea52.zip |
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>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions