]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
korina: misc cleanup
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 20 Apr 2008 16:06:13 +0000 (18:06 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:51 +0000 (02:08 -0400)
commite3152ab901bcec132639d123b0e7c2b5ed237957
tree0b870ae23c2228118cbfbd804c82d2764b0bec6f
parent751c2e4755027468a79349f8e9f4885a4518426e
korina: misc cleanup

- useless initialization (korina_ope / korina_restart)
- use a single variable for the status code in korina_probe
  and propagate the error status code from below
- useless checks in korina_remove : the variables are
  necessarily set when korina_probe succeeds

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/korina.c