From patchwork Wed Jun 19 14:04:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Borisov X-Patchwork-Id: 11004247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C2CBD112C for ; Wed, 19 Jun 2019 14:04:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B39D628A89 for ; Wed, 19 Jun 2019 14:04:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7E9A28AA4; Wed, 19 Jun 2019 14:04:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C2C828A89 for ; Wed, 19 Jun 2019 14:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730283AbfFSOEo (ORCPT ); Wed, 19 Jun 2019 10:04:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:42864 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726047AbfFSOEn (ORCPT ); Wed, 19 Jun 2019 10:04:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 66241AC0C for ; Wed, 19 Jun 2019 14:04:42 +0000 (UTC) From: Nikolay Borisov To: linux-btrfs@vger.kernel.org Cc: Nikolay Borisov Subject: [PATCH 0/4] Spring cleaning Date: Wed, 19 Jun 2019 17:04:36 +0300 Message-Id: <20190619140440.5550-1-nborisov@suse.com> X-Mailer: git-send-email 2.17.1 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just a couple of patches that remove unneeded code. The first one does away with an always true if construct and the rest remove code which has been #if 0 for quite some time. Nikolay Borisov (4): btrfs-progs: Remove redundant if btrfs-progs: Remove commented code btrfs: Remove old send implementation btrfs-progs: check: Remove duplicated and commented functions check/main.c | 69 ------------- cmds-send.c | 61 ------------ extent-tree.c | 270 +------------------------------------------------- 3 files changed, 5 insertions(+), 395 deletions(-)