Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753436AbdGNJGv (ORCPT ); Fri, 14 Jul 2017 05:06:51 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:49540 "EHLO prv3-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbdGNJGu (ORCPT ); Fri, 14 Jul 2017 05:06:50 -0400 From: Guoqing Jiang To: arnd@arndb.de, gregkh@linuxfoundation.org, sudipm.mukherjee@gmail.com Cc: linux-kernel@vger.kernel.org, Guoqing Jiang Subject: [PATCH] ppdev: remove unused ROUND_UP macro Date: Fri, 14 Jul 2017 17:06:15 +0800 Message-Id: <1500023175-29867-1-git-send-email-gqjiang@suse.com> X-Mailer: git-send-email 2.6.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 25 This macro is not used after commit 3b9ab374a1e6 ("ppdev: convert to y2038 safe"), so let's remove it. Signed-off-by: Guoqing Jiang --- drivers/char/ppdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index 3e73bcd..d256110 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c @@ -101,9 +101,6 @@ static DEFINE_IDA(ida_index); #define PP_BUFFER_SIZE 1024 #define PARDEVICE_MAX 8 -/* ROUND_UP macro from fs/select.c */ -#define ROUND_UP(x,y) (((x)+(y)-1)/(y)) - static DEFINE_MUTEX(pp_do_mutex); /* define fixed sized ioctl cmd for y2038 migration */ -- 2.6.6