Skip to content

Staging: xgifb: Removes dead code and unused spinlock conditional compilation logic

Javier Martinez Canillas kernel-janitors 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Staging: xgifb: Removes dead codedrivers/staging/xgifb/XGI_accel.c+3 -540 replies
2/3Staging: xgifb: Remove unused functionsdrivers/staging/xgifb/XGI_accel.c+0 -960 replies
3/3Staging: xgifb: Remove unused spinlock conditional compilation logicdrivers/staging/xgifb/XGI_accel.c drivers/staging/xgifb/XGI_accel.h+0 -172 replies
3/3Staging: xgifb: Remove unused function fbcon_XGI_syncdrivers/staging/xgifb/XGI_accel.c drivers/staging/xgifb/XGI_main.h drivers/staging/xgifb/XGI_main_26.c+1 -70 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDan Carpenter
SeriesA-b
1/3
2/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Staging: xgifb: Removes dead code and unused spinlock conditional compilation logic

In an earlier patch-set I was replacing a set of defines in staging xgifb driver that hides the synchronization mechanism used to access critical sections.

As Dan Carpenter pointed me, this code depende on the accelerator engine being activated (XGIfb_accel != 0), but in current driver this seems to be always deactivated (XGIfb_accel = 0).

So this patchset removes all the unused code and this spinlock conditional compilation logic only used in the acceleration mode code.

The patch-set is composed of the following patches:

[PATCH 1/3] Staging: xgifb: Removes dead code
[PATCH 2/3] Staging: xgifb: Remove unused functions
[PATCH 3/3] Staging: xgifb: Remove unused spinlock conditional compilation logic