]> Git Repo - linux.git/blobdiff - drivers/media/usb/uvc/uvc_video.c
treewide: Remove uninitialized_var() usage
[linux.git] / drivers / media / usb / uvc / uvc_video.c
index 8fa77a81dd7f2c937167638c2b7a21a69548161b..a65d5353a441e00c24093688bd3289f62d9ef5e3 100644 (file)
@@ -765,9 +765,9 @@ static void uvc_video_stats_decode(struct uvc_streaming *stream,
        unsigned int header_size;
        bool has_pts = false;
        bool has_scr = false;
-       u16 uninitialized_var(scr_sof);
-       u32 uninitialized_var(scr_stc);
-       u32 uninitialized_var(pts);
+       u16 scr_sof;
+       u32 scr_stc;
+       u32 pts;
 
        if (stream->stats.stream.nb_frames == 0 &&
            stream->stats.frame.nb_packets == 0)
@@ -1828,7 +1828,7 @@ static int uvc_video_start_transfer(struct uvc_streaming *stream,
                struct usb_host_endpoint *best_ep = NULL;
                unsigned int best_psize = UINT_MAX;
                unsigned int bandwidth;
-               unsigned int uninitialized_var(altsetting);
+               unsigned int altsetting;
                int intfnum = stream->intfnum;
 
                /* Isochronous endpoint, select the alternate setting. */
This page took 0.025932 seconds and 4 git commands to generate.