Re: [PATCH v2] xen/pcifront: Removed unnecessary __ref annotation

From: Juergen Gross
Date: Wed Sep 01 2021 - 04:41:48 EST


On 30.08.21 19:53, Sergio Miguéns Iglesias wrote:
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@xxxxxxxx>

Pushed to xen/tip.git for-linus-5.15


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature