History

atm: remove 'struct zatm_t_hist'

The zatm_t_hist structure is not used anywhere in the kernel, but is exported to user space. As we are trying to eliminate uses of time_t in the kernel for y2038 compatibility, the current definition triggers checking tools because it contains 'struct timeval'. As pointed out by Chas Williams, the only user of this structure was the ZATM_GETHIST ioctl command that has been removed a long time ago, and we can remove the structure as well without breaking any user space.

Arnd Bergmann committed 11 years ago

Commit 70ba07b1 parent 84b00601 file · +0 −6Browse files

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

Unified · Split

include/uapi/linux/atm_zatm.h+0−6
@@ -35,12 +35,6 @@ struct zatm_pool_req { · 34 unmodified lines
3535 struct zatm_pool_info info; /* actual information */
3636 };
3737
38−struct zatm_t_hist {
39− struct timeval real; /* real (wall-clock) time */
40− struct timeval expected; /* expected real time */
41−};
42−
43−
4438 #define ZATM_OAM_POOL 0 /* free buffer pool for OAM cells */
4539 #define ZATM_AAL0_POOL 1 /* free buffer pool for AAL0 cells */
4640 #define ZATM_AAL5_POOL_BASE 2 /* first AAL5 free buffer pool */

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