commit | e350a96ec9e6c74f06235ded93ef3155f71c6c6b | [log] [tgz] |
---|---|---|
author | Kenneth Williams <ken@williamsclan.us> | Sun Jan 11 16:43:54 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 12 17:02:04 2015 -0500 |
tree | 35db08099249b19ef343d00efb9e97445b893e15 | |
parent | b1e8bc617d30fc9360a58889f21a0d0ce982cf04 [diff] |
team: Remove dead code The deleted lines are called from a function which is called: 1) Only through __team_options_register via team_options_register and 2) Only during initialization / mode initialization when there are no ports attached. Therefore the ports list is guarenteed to be empty and this code will never be executed. Signed-off-by: Kenneth Williams <ken@williamsclan.us> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>