History

misc: rtsx: Removed unused dev_aspm_mode

The struct rtsx_cr_option.dev_aspm_mode member is never set to anything other than DEV_ASPM_DYNAMIC (0). Remove it and code that tests it. No functional change intended.

Bjorn Helgaas committed 6 years ago

Commit 51876e21 parent 8786eda5 files · +18 −83Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/rtsx_pci.h+0−9
@@ -1104,13 +1104,6 @@ enum PDEV_STAT {PDEV_STAT_IDLE, PDEV_STAT_RUN}; · 1103 unmodified lines
11041104 #define L1_SNOOZE_TEST_EN BIT(5)
11051105 #define LTR_L1SS_PWR_GATE_CHECK_CARD_EN BIT(6)
11061106
1107−enum dev_aspm_mode {
1108− DEV_ASPM_DYNAMIC,
1109− DEV_ASPM_BACKDOOR,
1110− DEV_ASPM_STATIC,
1111− DEV_ASPM_DISABLE,
1112−};
1113−
11141107 /*
11151108 * struct rtsx_cr_option - card reader option
11161109 * @dev_flags: device flags
@@ -1121,7 +1114,6 @@ enum dev_aspm_mode { · 4 unmodified lines
11211114 * @ltr_active_latency: ltr mode active latency
11221115 * @ltr_idle_latency: ltr mode idle latency
11231116 * @ltr_l1off_latency: ltr mode l1off latency
1124− * @dev_aspm_mode: device aspm mode
11251117 * @l1_snooze_delay: l1 snooze delay
11261118 * @ltr_l1off_sspwrgate: ltr l1off sspwrgate
11271119 * @ltr_l1off_snooze_sspwrgate: ltr l1off snooze sspwrgate
@@ -1138,7 +1130,6 @@ struct rtsx_cr_option { · 10 unmodified lines
11381130 u32 ltr_active_latency;
11391131 u32 ltr_idle_latency;
11401132 u32 ltr_l1off_latency;
1141− enum dev_aspm_mode dev_aspm_mode;
11421133 u32 l1_snooze_delay;
11431134 u8 ltr_l1off_sspwrgate;
11441135 u8 ltr_l1off_snooze_sspwrgate;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t