diff options
author | Johannes Stezenbach <devnull@localhost> | 2004-12-19 17:57:03 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2004-12-19 17:57:03 +0000 |
commit | d9242aaaec257a126af7bfb24cf8d7552c2c9538 (patch) | |
tree | 919bfb0566d1a9c42546b530249994a92c081ff8 /linux/include | |
parent | 90019e6129b6d234bd991a89e1f78a6011e4ad55 (diff) | |
download | mediapointer-dvb-s2-d9242aaaec257a126af7bfb24cf8d7552c2c9538.tar.gz mediapointer-dvb-s2-d9242aaaec257a126af7bfb24cf8d7552c2c9538.tar.bz2 |
- release_adapter does not really balance claim_adapter. release_adapter does.
- unneeded tests in free_adapter_object:
+ kfree(NULL) does not hurt (and it will not happen anyway);
+ irq has already been successfully requested;
- propagation of the error status code through driver_initialize;
- check the status code in skystar2_probe;
- skystar2_remove: no need to test adapter->dvb_adapter against NULL.
If such is its value, the driver has oopsen long before due to:
skystar2_probe
-> dvb_dmxdev_init
-> dvb_register_device
-> dvbdev_get_free_id
-> list_for_each (entry, &adap->device_list)
^^^^ -> NULL
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'linux/include')
0 files changed, 0 insertions, 0 deletions