History

pktcdvd: Remove CONFIG_CDROM_PKTCDVD_WCACHE from uapi header

CONFIG_* switches should not be exposed in uapi headers, thus let's get rid of the USE_WCACHING macro here (which was also named way to generic) and integrate the logic directly in the only function that needs it.

Thomas Huth committed 3 years ago

Commit f5bdc611 parent d3c7ec72 files · +9 −15Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/pktcdvd.h+0−11
@@ -29,17 +29,6 @@ · 28 unmodified lines
2929 */
3030 #define PACKET_WAIT_TIME (HZ * 5 / 1000)
3131
32−/*
33− * use drive write caching -- we need deferred error handling to be
34− * able to successfully recover with this option (drive will return good
35− * status as soon as the cdb is validated).
36− */
37−#if defined(CONFIG_CDROM_PKTCDVD_WCACHE)
38−#define USE_WCACHING 1
39−#else
40−#define USE_WCACHING 0
41−#endif
42−
4332 /*
4433 * No user-servicable parts beyond this point ->
4534 */

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