Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755550AbbK0Vau (ORCPT ); Fri, 27 Nov 2015 16:30:50 -0500 Received: from mailrelay119.isp.belgacom.be ([195.238.20.146]:20875 "EHLO mailrelay119.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755459AbbK0Vaq (ORCPT ); Fri, 27 Nov 2015 16:30:46 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B/AgC5ylhW/6YUtFtegmlSgUK8BYIaAQ2BZIYPAoE+ORQBAQEBAQEBgQqENQEBBFYjEFE5HhmIMgGycIoOAQEII4ZUiiWEEgWWV404nGEfAQFChAU9NIVSAQEB From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Philipp Reisner , Fabian Frederick , Lars Ellenberg , drbd-dev@lists.linbit.com Subject: [PATCH 20/21] drbd: remove unused definitions Date: Fri, 27 Nov 2015 22:30:35 +0100 Message-Id: <1448659836-13747-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1448659575-13485-1-git-send-email-fabf@skynet.be> References: <1448659575-13485-1-git-send-email-fabf@skynet.be> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 31 div_ceil/div_floor are no longer used Signed-off-by: Fabian Frederick --- drivers/block/drbd/drbd_int.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index c898947..365eb4c 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -188,11 +188,6 @@ drbd_insert_fault(struct drbd_device *device, unsigned int type) { #endif } -/* integer division, round _UP_ to the next integer */ -#define div_ceil(A, B) ((A)/(B) + ((A)%(B) ? 1 : 0)) -/* usual integer division */ -#define div_floor(A, B) ((A)/(B)) - extern struct ratelimit_state drbd_ratelimit_state; extern struct idr drbd_devices; /* RCU, updates: genl_lock() */ extern struct list_head drbd_resources; /* RCU, updates: genl_lock() */ -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/