Bug 11861 - Dead code in src/radeon_video.c
Summary: Dead code in src/radeon_video.c
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: All All
: lowest trivial
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
Keywords: patch
Depends on:
Blocks: 11749
  Show dependency treegraph
Reported: 2007-08-06 04:08 UTC by Roland "Test-tools" Bär
Modified: 2007-08-23 01:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

dead code removal (1.12 KB, patch)
2007-08-06 04:09 UTC, Roland "Test-tools" Bär
no flags Details | Splinter Review

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.