summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_hweight.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2012-08-14 18:26:10 +0000
committerWolfgang Denk <wd@denx.de>2012-09-02 16:47:50 +0200
commit74f45b739be635eaa4ec3a40dec6ad66084748c4 (patch)
treee67a5514834cd8e6bd5c36d93703004d7aa2919a /fs/yaffs2/yaffs_hweight.h
parent7cdcaef0b286fa20926d750304442ad770a1fca8 (diff)
u-boot yaffs2: Fix compilation warnings
Also remove yaffs_hweight and use the hweight in u-boot. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'fs/yaffs2/yaffs_hweight.h')
-rw-r--r--fs/yaffs2/yaffs_hweight.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/yaffs2/yaffs_hweight.h b/fs/yaffs2/yaffs_hweight.h
deleted file mode 100644
index 3f7c6c33e7..0000000000
--- a/fs/yaffs2/yaffs_hweight.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
- *
- * Copyright (C) 2002-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
- *
- * Created by Charles Manning <charles@aleph1.co.uk>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 2.1 as
- * published by the Free Software Foundation.
- *
- * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- */
-
-#ifndef __YAFFS_HWEIGHT_H__
-#define __YAFFS_HWEIGHT_H__
-
-#include "yportenv.h"
-
-int yaffs_hweight8(u8 x);
-int yaffs_hweight32(u32 x);
-
-#endif