From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145AbbI3PcN (ORCPT ); Wed, 30 Sep 2015 11:32:13 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:59347 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbbI3PcJ (ORCPT ); Wed, 30 Sep 2015 11:32:09 -0400 From: Arnd Bergmann To: "Charles (Chas) Williams" <3chas3@gmail.com> Cc: netdev@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, "David S. Miller" , linux-atm-general@lists.sourceforge.net Subject: [PATCH v2] atm: remove 'struct zatm_t_hist' Date: Wed, 30 Sep 2015 17:32:01 +0200 Message-ID: <2417914.UvIGGyvL3v@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1443626675.3494.41.camel@gmail.com> References: <1443612402-3000775-1-git-send-email-arnd@arndb.de> <1443612402-3000775-8-git-send-email-arnd@arndb.de> <1443626675.3494.41.camel@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:W8xLpiEHsSAOpcKPWErYWlsXtS6iQZlrFba9ZOzQQtj8yuvo6Q+ Unkd3qGD7+Wum+hZwvs6qr9XlKhnCIb6kudELdhFcgOap2j9sntLkxAiXz2BJ4Vyn81NBQc eWKOfHupg4Zkun3kc7cdX406U8GMiyCYHd6i6pyKkYayekUW/aNptybqWxKK6agtrQXHZ5i ihXZuIZmMMDd2eBJ9zG8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ammq6tvJn1A=:uHh3oxkGEGRRYVKd6L5+9x O9BnooMHtWQXDWWLmcJtv4RgHPpJQWO+Ri817c5rCKNpD9T4//iQlBTC921aJ3VzfGXcoOh7i J7KmMqOx+ZAhEEnaZFMR0hkWu9hzX+KUpt9MT2euX37MGQO4ea55EHKri+DHlXi11hfdBO+kZ TQPzTLXD1S29BoAYK3o6QzgPGo1Y/3E2VT7O1B1NmxqGjLXVaEgmgyepQ6BFL7D1koNiQB7GQ YhMZvMoHw+hkUWLxHiOfHhl2CBlXf3Ev/Ob91ZvCZSIzefHEOQey2nuz6yqqo3kkpeoIpAoKq UXt+BtAN5BbipRg9H49E7OxJ8ibMmj0gHKs8kgIjsE1U3tcUeh+WttrsVTQTaHKfmmiyCJjIv TwvsQPSLVx7tatnPfhcUbDbSCSIo3EdxqDZF+Bz7PwQnfcxrhqRTTLawKubz7IjVSF7XCmRyh 2GBfecJVDEATzem78PgogppJx0L6/KxRW6FRkJkhD4Pkvkf5WokHNKa4DD8JTMiI9TS1lLh3a Kh6N8UnlJT8AiACaPNemiFe/TxBQN9H3UrakaurN5aVPFBC8NMMtlSLlQ/uxuEgax9w0EABc2 QLIjtWyYwT8kqcRBAgiTYAWZjvgsqOGrUcAouhm+mhZVB4LfdVjEQJcJpTawNba9zHaGViBus CAJ2Y4GVSoXjVPcyBhjsgnphWT1AX6IfDiey1qAmZXTXPfaESvloeshw/1/pJXCeY6Lo5g0zR pNClnnL0jsji5mdQ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Chas Williams <3chas3@gmail.com> Cc: linux-atm-general@lists.sourceforge.net diff --git a/include/uapi/linux/atm_zatm.h b/include/uapi/linux/atm_zatm.h index 10f0fa29454f..9c9c6ad55f14 100644 --- a/include/uapi/linux/atm_zatm.h +++ b/include/uapi/linux/atm_zatm.h @@ -35,12 +35,6 @@ struct zatm_pool_req { struct zatm_pool_info info; /* actual information */ }; -struct zatm_t_hist { - struct timeval real; /* real (wall-clock) time */ - struct timeval expected; /* expected real time */ -}; - - #define ZATM_OAM_POOL 0 /* free buffer pool for OAM cells */ #define ZATM_AAL0_POOL 1 /* free buffer pool for AAL0 cells */ #define ZATM_AAL5_POOL_BASE 2 /* first AAL5 free buffer pool */