diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-18 12:40:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-18 16:52:26 -0700 |
commit | 7e5dd53f6ee81ffa0d1f42f79e6440b6a751ab40 (patch) | |
tree | 17411b6cd879cb10624a7ba03db6c82a3b01036b /net/sched/em_canid.c | |
parent | 21d0556cc879013d843dc7ef1ec2634148338b3d (diff) |
net_sched: use explicit size of struct tcmsg, remove need to declare tcm
Pointer tcm is being initialized and is never read, it is only being used
to determine the size of struct tcmsg. Clean this up by removing
variable tcm and explicitly using the sizeof struct tcmsg rather than *tcm.
Cleans up clang warning:
warning: Value stored to 'tcm' during its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_canid.c')
0 files changed, 0 insertions, 0 deletions