diff options
author | Sergio Paracuellos <[email protected]> | 2020-12-13 17:17:15 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-01-04 15:38:34 +0100 |
commit | 53abfe67f024ab8eeac101d05703a49e7e154b67 (patch) | |
tree | 8a57ccdb699ee1437e8e7483d397c92d2111a6e2 /net/unix/sysctl_net_unix.c | |
parent | 86e666df40c995add80a2acfb394dbce7c68dee2 (diff) |
pinctrl: ralink: rt2880: avoid double pointer to simplify code
Double pointer is being used and assigned in a bit dirty way to
assign functions in pinctrl. Instead of doing this just avoid it
and use directly 'p->func' instead.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions