From: Mathias Krause Date: Fri, 21 Feb 2014 20:38:35 +0000 (+0100) Subject: pktgen: simplify error handling in pgctrl_write() X-Git-Tag: v3.15-rc1~113^2~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0945574750f3040a2309d960a569215598a64672;p=pandora-kernel.git 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" Signed-off-by: Mathias Krause Signed-off-by: David S. Miller --- Reading git-diff-tree failed