]> git.baikalelectronics.ru Git - kernel.git/commit
atm: remove 'struct zatm_t_hist'
authorArnd Bergmann <arnd@arndb.de>
Wed, 30 Sep 2015 15:32:01 +0000 (17:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:16:46 +0000 (03:16 -0700)
commitf1bfe01ffcf0cc81883d3530574762c990f4933f
treec173c190422d42feb8c213dd678a8fe8cb23f147
parentb7789503b926bca1ec0fc1af9568dc752d85a763
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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Chas Williams <3chas3@gmail.com>
Cc: linux-atm-general@lists.sourceforge.net
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/atm_zatm.h