commit | 0945574750f3040a2309d960a569215598a64672 | [log] [tgz] |
---|---|---|
author | Mathias Krause <minipli@googlemail.com> | Fri Feb 21 21:38:35 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 18:54:26 2014 -0500 |
tree | daccd26d3c144a5a1fa81b157a365b4a407aa45e | |
parent | 20b0c718c3bb122107bebadbb8ecf4bab76fb392 [diff] |
pktgen: simplify error handling in pgctrl_write() The 'out' label is just a relict from previous times as pgctrl_write() had multiple error paths. Get rid of it and simply return right away on errors. Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>