From: mglocker Date: Sun, 28 Nov 2021 14:10:32 +0000 (+0000) Subject: Spacing X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c00e5c153a33c4cf1493cd6a7df8c45ce00c7aec;p=openbsd Spacing --- diff --git a/sys/dev/usb/utvfu.c b/sys/dev/usb/utvfu.c index eb65ff7ae75..6f99460f1db 100644 --- a/sys/dev/usb/utvfu.c +++ b/sys/dev/usb/utvfu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utvfu.c,v 1.14 2021/11/28 13:57:37 mglocker Exp $ */ +/* $OpenBSD: utvfu.c,v 1.15 2021/11/28 14:10:32 mglocker Exp $ */ /* * Copyright (c) 2013 Lubomir Rintel * Copyright (c) 2013 Federico Simoncelli @@ -124,11 +124,13 @@ utvfu_set_regs(struct utvfu_softc *sc, const uint16_t regs[][2], int size) int utvfu_max_frame_size(void) { - int i, sz = 0; + int i, sz = 0; + for (i = 0; i < nitems(utvfu_norm_params); i++) { if (sz < utvfu_norm_params[i].frame_len) sz = utvfu_norm_params[i].frame_len; } + return (sz); }