diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-07-30 16:42:00 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-07-30 17:22:52 +0200 |
commit | f2479c0a22948c5998938fa5bb9d98f9931791b7 (patch) | |
tree | 3dd7661d901795ddc7135577d310fbbc2ce31576 /net/nfc/netlink.c | |
parent | 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0 (diff) |
nfc: constify local pointer variables
Few pointers to struct nfc_target and struct nfc_se can be made const.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc/netlink.c')
-rw-r--r-- | net/nfc/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c index 70467a82be8f..49089c50872e 100644 --- a/net/nfc/netlink.c +++ b/net/nfc/netlink.c @@ -530,7 +530,7 @@ free_msg: int nfc_genl_se_connectivity(struct nfc_dev *dev, u8 se_idx) { - struct nfc_se *se; + const struct nfc_se *se; struct sk_buff *msg; void *hdr; |