Commit 7b518be4 authored by Andrey Shvetsov's avatar Andrey Shvetsov Committed by Greg Kroah-Hartman

staging: most: core: remove member add_link

This patch removes the unused field add_link of struct most_aim_obj.
Signed-off-by: default avatarAndrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ce76644
...@@ -763,7 +763,6 @@ struct most_aim_obj { ...@@ -763,7 +763,6 @@ struct most_aim_obj {
struct kobject kobj; struct kobject kobj;
struct list_head list; struct list_head list;
struct most_aim *driver; struct most_aim *driver;
char add_link[STRING_SIZE];
char remove_link[STRING_SIZE]; char remove_link[STRING_SIZE];
}; };
...@@ -984,7 +983,6 @@ static ssize_t store_add_link(struct most_aim_obj *aim_obj, ...@@ -984,7 +983,6 @@ static ssize_t store_add_link(struct most_aim_obj *aim_obj,
size_t max_len = min_t(size_t, len + 1, STRING_SIZE); size_t max_len = min_t(size_t, len + 1, STRING_SIZE);
strlcpy(buffer, buf, max_len); strlcpy(buffer, buf, max_len);
strlcpy(aim_obj->add_link, buf, max_len);
ret = split_string(buffer, &mdev, &mdev_ch, &mdev_devnod); ret = split_string(buffer, &mdev, &mdev_ch, &mdev_devnod);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment