diff options
author | Ben Dooks <[email protected]> | 2023-06-16 17:06:28 +0100 |
---|---|---|
committer | Vishal Verma <[email protected]> | 2023-06-23 14:55:58 -0600 |
commit | 191a9f3a611175b3e8e8c9e700fb8bce12ad7aa3 (patch) | |
tree | 74d6ed6a6eaaf57985668397e84902b13bbe19ee /scripts/generate_rust_analyzer.py | |
parent | e98d14fa7315867fded127a98db355f49807dfdb (diff) |
nvdimm: make nd_class variable static
The nd_class is not used outside of drivers/nvdimm/bus.c and thus sparse
is generating the following warning. Remove this by making it static:
drivers/nvdimm/bus.c:28:14: warning: symbol 'nd_class' was not declared. Should it be static?
Signed-off-by: Ben Dooks <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions