Mercurial > hgbook
view en/examples/mq.tools.tools.out @ 433:83790457e85b
modifications to generate the examples for the book
author | jerojasro@localhost |
---|---|
date | Sat, 18 Oct 2008 12:07:16 -0500 |
parents | 006bbad1f190 |
children |
line wrap: on
line source
$ \textbf{diffstat -p1 remove-redundant-null-checks.patch} drivers/char/agp/sgi-agp.c | 5 ++--- drivers/char/hvcs.c | 11 +++++------ drivers/message/fusion/mptfc.c | 6 ++---- drivers/message/fusion/mptsas.c | 3 +-- drivers/net/fs_enet/fs_enet-mii.c | 3 +-- drivers/net/wireless/ipw2200.c | 22 ++++++---------------- drivers/scsi/libata-scsi.c | 4 +--- drivers/video/au1100fb.c | 3 +-- 8 files changed, 19 insertions(+), 38 deletions(-) $ \textbf{filterdiff -i '*/video/*' remove-redundant-null-checks.patch} @@ -743,8 +743,7 @@ void __exit au1100fb_cleanup(void) \{ driver_unregister(&au1100fb_driver); - if (drv_info.opt_mode) - kfree(drv_info.opt_mode); + kfree(drv_info.opt_mode); \} module_init(au1100fb_init);