diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2021-11-13 14:26:14 +0800 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-04 13:23:08 +0900 |
commit | 49737f261c412ea7c4ca583317a9b094c0aaed49 (patch) | |
tree | e937e8a0509d84282ac40ef1a699244203fd3b4c /drivers/ata/pata_ali.c | |
parent | c9e6606c7fe92b50a02ce51dda82586ebdf99b48 (diff) | |
download | lwn-49737f261c412ea7c4ca583317a9b094c0aaed49.tar.gz lwn-49737f261c412ea7c4ca583317a9b094c0aaed49.zip |
ata: pata_ali: no need to initialise statics to 0
Static variables do not need to be initialized to 0.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_ali.c')
-rw-r--r-- | drivers/ata/pata_ali.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index b7ff63ed3bbb..ab28a6707b94 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c @@ -37,7 +37,7 @@ #define DRV_NAME "pata_ali" #define DRV_VERSION "0.7.8" -static int ali_atapi_dma = 0; +static int ali_atapi_dma; module_param_named(atapi_dma, ali_atapi_dma, int, 0644); MODULE_PARM_DESC(atapi_dma, "Enable ATAPI DMA (0=disable, 1=enable)"); |