Bug 11861

Summary: Dead code in src/radeon_video.c
Product: xorg Reporter: Roland "Test-tools" Bär <roland>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: trivial    
Priority: lowest Keywords: patch
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 11749    
Attachments:
Description Flags
dead code removal none

Description Roland "Test-tools" Bär 2007-08-06 04:08:53 UTC
On line 3376 we set:
   id = FOURCC_YUY2;
so the following switch block is itself useless, follows only one path.

I have removed that switch block in attached patch, eventually the previous
assignement to id is the error and had to be fixed there, otherwise that part
of code was to long unchanged in git.
Comment 1 Roland "Test-tools" Bär 2007-08-06 04:09:41 UTC
Created attachment 11008 [details] [review]
dead code removal
Comment 2 Dave Airlie 2007-08-23 01:38:03 UTC
checked into 6.7

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.