2005-02-28 14:08:02

by Panagiotis Issaris

[permalink] [raw]
Subject: [PATCH] SA9730 cleanup or fix

Hi,

In the SAA9730 driver the lan_saa9730_start() function always returns
zero which makes the if/return code unnecessary.

The first patch removes this check.

In case it is suspected that the lan_saa9730_start() function might be
modified in the future, causing it to be possible to return values other
then zero, then the second patch -replacing the previous one- fixes the
problem that in that case the requested irq is not being freed.

Both patches apply to 2.6.11-rc5-bk2.

With friendly regards,
Takis
--
OpenPGP key: http://lumumba.luc.ac.be/takis/takis_public_key.txt
fingerprint: 6571 13A3 33D9 3726 F728 AA98 F643 B12E ECF3 E029


Attachments:
(No filename) (644.00 B)
pi-20050228T134601-linux-saa9730.diff (512.00 B)
pi-20050228T145542-linux-saa9730.diff (499.00 B)
Download all attachments