On 9/17/21 10:04 PM, Luis Chamberlain wrote:
+static void test_dev_config_lock(struct sysfs_test_device *test_dev) +{
- struct test_config *config;
- config = &test_dev->config;
Please change the above into a single line (there are multiple occurrences):
struct test_config *config = &test_dev->config;
Thanks,
Bart.