diff options
author | Joe Perches <joe@perches.com> | 2014-09-22 14:17:41 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-09-24 03:40:08 -0400 |
commit | 2b0bf6c85a4940e00516f68ff7103329abf8512d (patch) | |
tree | 0dcbff8f287de0426e025a53e1f6d97ac8c249a0 /include/net/bluetooth | |
parent | 48e68ff5e55af6907d3f90233e5c4d5601a628a6 (diff) |
Bluetooth: Convert bt_<level> logging functions to return void
No caller or macro uses the return value so make all
the functions return void.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 7e666d06b97f..58695ffeb138 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -120,9 +120,9 @@ struct bt_voice { | |||
120 | #define BT_RCVMTU 13 | 120 | #define BT_RCVMTU 13 |
121 | 121 | ||
122 | __printf(1, 2) | 122 | __printf(1, 2) |
123 | int bt_info(const char *fmt, ...); | 123 | void bt_info(const char *fmt, ...); |
124 | __printf(1, 2) | 124 | __printf(1, 2) |
125 | int bt_err(const char *fmt, ...); | 125 | void bt_err(const char *fmt, ...); |
126 | 126 | ||
127 | #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) | 127 | #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) |
128 | #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__) | 128 | #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__) |