Skip to content

Commit 781cb65

Browse files
committed
arm: Update UNUSED()
Fix errors reported by checkpatch.sh Signed-off-by: Peter Barada <peter.barada@gmail.com>
1 parent a46334e commit 781cb65

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

drivers/net/netdev_upperhalf.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,10 @@ static int netdev_upper_loop(int argc, FAR char *argv[])
808808
return ERROR;
809809
}
810810

811-
upper = (FAR struct netdev_upperhalf_s *)((uintptr_t)strtoul(argv[1], NULL, 16));
811+
upper = (FAR struct netdev_upperhalf_s *)
812+
((uintptr_t)strtoul(argv[1], NULL, 16));
812813
cpu = atoi(argv[2]);
813-
814+
814815
if (upper->lower->rxtype == NETDEV_RX_THREAD_RSS)
815816
{
816817
cpu_set_t cpuset;

drivers/usbhost/usbhost_hidkbd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ static int usbhost_kbdpoll(int argc, FAR char *argv[])
13821382
{
13831383
return ERROR;
13841384
}
1385-
1385+
13861386
uinfo("Started\n");
13871387

13881388
/* Synchronize with the start-up logic. Get the private instance, re-start

drivers/usbhost/usbhost_hidmouse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ static int usbhost_mouse_poll(int argc, FAR char *argv[])
959959

960960
UNUSED(argc);
961961
UNUSED(argv);
962-
962+
963963
uinfo("Started\n");
964964

965965
/* Synchronize with the start-up logic. Get the private instance, re-start

sched/irq/irq_attach_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static int isr_thread_main(int argc, FAR char *argv[])
9999
isr = (xcpt_t)((uintptr_t)strtoul(argv[2], NULL, 16));
100100
isrthread = (xcpt_t)((uintptr_t)strtoul(argv[3], NULL, 16));
101101
arg = (FAR char *)((uintptr_t)strtoul(argv[4], NULL, 16));
102-
102+
103103
info.sem = &sem;
104104
info.arg = arg;
105105
info.handler = isr;

0 commit comments

Comments
 (0)