swconfig: swlib_map_settings(): change return type to void

The return value of the function isn't used anywhere.
Fixes missing return value, CID 1329717.

Found-by: Coverity
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2018-06-29 05:36:06 +02:00
parent e37ad4e5ca
commit b06c447c5f
No known key found for this signature in database
GPG Key ID: C29E9DA6A0DF8604
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ static bool swlib_match_name(struct switch_dev *dev, const char *name)
strcmp(name, dev->alias) == 0);
}
static int
static void
swlib_map_settings(struct switch_dev *dev, int type, int port_vlan, struct uci_section *s)
{
struct swlib_setting *setting;