diff options
| author | 2010-08-24 06:52:46 +0000 | |
|---|---|---|
| committer | 2010-08-24 14:50:26 -0700 | |
| commit | 4169591fd7c260b2b0b4e8f4d51f63f5b15ad78a (patch) | |
| tree | 4dc87147db2e92f6b4eb9ca41813cd718ea6cdaf /tools/perf/scripts/python/check-perf-trace.py | |
| parent | phylib: Fix race between returning phydev and calling adjust_link (diff) | |
| download | wireguard-linux-4169591fd7c260b2b0b4e8f4d51f63f5b15ad78a.tar.xz wireguard-linux-4169591fd7c260b2b0b4e8f4d51f63f5b15ad78a.zip | |
pxa168_eth: remove unneeded null check
"pep->pd" isn't checked consistently in this function. For example it's
dereferenced unconditionally on the next line after the end of the if
condition. This function is only called from pxa168_eth_probe() and
pep->pd is always non-NULL so I removed the check.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
