summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-11-18 16:02:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-18 16:20:46 +0100
commitb22fd46830c24f5a5833b60f9fac1682afc201ec (patch)
tree3ca2cf3c52e5971668cd2cc5c70b1074b6ff5d7d /drivers/s390
parent573bcbe17e98f2cc4d398a15c8ef32dd685cda85 (diff)
downloadlwn-b22fd46830c24f5a5833b60f9fac1682afc201ec.tar.gz
lwn-b22fd46830c24f5a5833b60f9fac1682afc201ec.zip
s390/con3215: Remove spurious NULL in attribute_group definition
This NULL value is most-likely a copy-paste error from an array definition. So far the NULL didn't have any effect. As there will be a union in struct attribute_group at this location, it will trigger a compiler warning. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241118-sysfs-const-attribute_group-fixes-v1-2-48e0b0ad8cba@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/con3215.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c
index dcb3c32f027a..c763c50d1454 100644
--- a/drivers/s390/char/con3215.c
+++ b/drivers/s390/char/con3215.c
@@ -803,7 +803,6 @@ static struct attribute *con3215_drv_attrs[] = {
static struct attribute_group con3215_drv_attr_group = {
.attrs = con3215_drv_attrs,
- NULL,
};
static const struct attribute_group *con3215_drv_attr_groups[] = {