Skip to content

Commit 499af3d

Browse files
committed
Fix ioctl-tree.c warnings
Comment out ioctl-tree.c functions for variable length structs, as there are currently no defined ioctls which use those.
1 parent f881599 commit 499af3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ioctl_tree.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ ioctl_simplestruct_in_execute(const ioctl_tree * node, unsigned long id, void *a
540540
*
541541
***********************************/
542542

543+
/* Note, we don't currently have any of those */
544+
545+
#if 0
546+
543547
static void
544548
ioctl_varlenstruct_init_from_bin(ioctl_tree * node, const void *data)
545549
{
@@ -603,6 +607,8 @@ ioctl_varlenstruct_in_execute(const ioctl_tree * node, unsigned long id, void *a
603607
return 0;
604608
}
605609

610+
#endif
611+
606612
/***********************************
607613
*
608614
* USBDEVFS_REAPURB

0 commit comments

Comments
 (0)