diff options
author | Joe Perches <joe@perches.com> | 2014-09-22 12:52:18 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-23 10:02:31 -0400 |
commit | d7bead1b8890c3e47a24db270fdb840ea728d8f0 (patch) | |
tree | e576086dee390d2ccd8111ccc423b27a7228cb6c /include/linux/libata.h | |
parent | 8494294b66dbb4d7996dd944575eebd4ac2a126b (diff) |
libata: change ata_<foo>_printk routines to return void
The return value is not used by callers of these functions nor
by uses of all macros so change the functions to return void.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 92abb497ab14..bd5fefeaf548 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1404,14 +1404,14 @@ static inline int sata_srst_pmp(struct ata_link *link) | |||
1404 | * printk helpers | 1404 | * printk helpers |
1405 | */ | 1405 | */ |
1406 | __printf(3, 4) | 1406 | __printf(3, 4) |
1407 | int ata_port_printk(const struct ata_port *ap, const char *level, | 1407 | void ata_port_printk(const struct ata_port *ap, const char *level, |
1408 | const char *fmt, ...); | 1408 | const char *fmt, ...); |
1409 | __printf(3, 4) | 1409 | __printf(3, 4) |
1410 | int ata_link_printk(const struct ata_link *link, const char *level, | 1410 | void ata_link_printk(const struct ata_link *link, const char *level, |
1411 | const char *fmt, ...); | 1411 | const char *fmt, ...); |
1412 | __printf(3, 4) | 1412 | __printf(3, 4) |
1413 | int ata_dev_printk(const struct ata_device *dev, const char *level, | 1413 | void ata_dev_printk(const struct ata_device *dev, const char *level, |
1414 | const char *fmt, ...); | 1414 | const char *fmt, ...); |
1415 | 1415 | ||
1416 | #define ata_port_err(ap, fmt, ...) \ | 1416 | #define ata_port_err(ap, fmt, ...) \ |
1417 | ata_port_printk(ap, KERN_ERR, fmt, ##__VA_ARGS__) | 1417 | ata_port_printk(ap, KERN_ERR, fmt, ##__VA_ARGS__) |