mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Remove lib/mpi/generic_mpi-asm-defs.h
Date: Fri, 08 Jun 2012 17:33:51 +0200	[thread overview]
Message-ID: <1339169631.30984.2.camel@x61.thuisdomein> (raw)

This header got added by commit 7e8dec918ef8e0f68b4937c3c50fa57002077a4d
("crypto: GnuPG based MPI lib - additional sources (part 4)"). Nothing
includes it.

The sole named constant it defines is BYTES_PER_MPI_LIMB. That named
constant is already provided by <linux/mpi.h> (which is made available
to the files in lib/mpi via mpi-internal.h). In this header that define
depends on the undefined macro SIZEOF_UNSIGNED_LONG.

So this header is unused, unneeded and broken. It can safely be removed.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
This patch is, once again, tested only with "git grep".

 lib/mpi/generic_mpi-asm-defs.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
 delete mode 100644 lib/mpi/generic_mpi-asm-defs.h

diff --git a/lib/mpi/generic_mpi-asm-defs.h b/lib/mpi/generic_mpi-asm-defs.h
deleted file mode 100644
index 047d1f5..0000000
--- a/lib/mpi/generic_mpi-asm-defs.h
+++ /dev/null
@@ -1,4 +0,0 @@
-/* This file defines some basic constants for the MPI machinery.  We
- * need to define the types on a per-CPU basis, so it is done with
- * this file here.  */
-#define BYTES_PER_MPI_LIMB  (SIZEOF_UNSIGNED_LONG)
-- 
1.7.7.6


             reply	other threads:[~2012-06-08 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 15:33 Paul Bolle [this message]
2012-06-11  8:27 ` Kasatkin, Dmitry
2012-06-11  8:55   ` Paul Bolle
2012-06-11  9:20     ` Kasatkin, Dmitry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339169631.30984.2.camel@x61.thuisdomein \
    --to=pebolle@tiscali.nl \
    --cc=dmitry.kasatkin@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®