posix_types.h: Cleanup stale __NFDBITS and related definitions

Recently, glibc made a change to suppress sign-conversion warnings in
FD_SET (glibc commit ceb9e56b3d1).  This uncovered an issue with the
kernel's definition of __NFDBITS if applications #include
<linux/types.h> after including <sys/select.h>.  A build failure would
be seen when passing the -Werror=sign-compare and -D_FORTIFY_SOURCE=2
flags to gcc.

It was suggested that the kernel should either match the glibc
definition of __NFDBITS or remove that entirely.  The current in-kernel
uses of __NFDBITS can be replaced with BITS_PER_LONG, and there are no
uses of the related __FDELT and __FDMASK defines.  Given that, we'll
continue the cleanup that was started with commit 8b3d1cda4f5f
("posix_types: Remove fd_set macros") and drop the remaining unused
macros.

Additionally, linux/time.h has similar macros defined that expand to
nothing so we'll remove those at the same time.

Reported-by: Jeff Law <law@redhat.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
CC: <stable@vger.kernel.org>
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
[ .. and fix up whitespace as per akpm ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
prima: release v3.2.2.17

Conflicts:

	drivers/staging/prima/CORE/BAP/src/bapApiHCBB.c
	drivers/staging/prima/CORE/BAP/src/bapApiInfo.c
	drivers/staging/prima/CORE/BAP/src/bapApiLinkCntl.c
	drivers/staging/prima/CORE/BAP/src/bapApiLinkSupervision.c
	drivers/staging/prima/CORE/BAP/src/bapApiStatus.c
	drivers/staging/prima/CORE/BAP/src/bapModule.c
	drivers/staging/prima/CORE/BAP/src/btampFsm.c
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_assoc.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_cfg.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_cfg80211.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_main.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_tdls.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_tx_rx.h
	drivers/staging/prima/CORE/HDD/inc/wlan_hdd_wowl.h
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_cfg80211.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_dev_pwr.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_early_suspend.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_tdls.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_tx_rx.c
	drivers/staging/prima/CORE/HDD/src/wlan_hdd_wext.c
	drivers/staging/prima/CORE/MAC/inc/aniGlobal.h
	drivers/staging/prima/CORE/MAC/inc/qwlan_version.h
	drivers/staging/prima/CORE/MAC/inc/sirApi.h
	drivers/staging/prima/CORE/MAC/inc/sirMacProtDef.h
	drivers/staging/prima/CORE/MAC/inc/wniApi.h
	drivers/staging/prima/CORE/MAC/src/include/sirParams.h
	drivers/staging/prima/CORE/MAC/src/pe/include/limFTDefs.h
	drivers/staging/prima/CORE/MAC/src/pe/include/limGlobal.h
	drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limAssocUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessActionFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessCfgUpdates.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessDisassocFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmReqMessages.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessProbeReqFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessProbeRspFrame.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessTdls.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limPropExtsUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limScanResultUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSecurityUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSendManagementFrames.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSendMessages.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSerDesUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSession.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limSmeReqUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limStaHashApi.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limTimerUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limTrace.c
	drivers/staging/prima/CORE/MAC/src/pe/lim/limTypes.h
	drivers/staging/prima/CORE/MAC/src/pe/lim/limUtils.c
	drivers/staging/prima/CORE/MAC/src/pe/pmm/pmmApi.c
	drivers/staging/prima/CORE/MAC/src/pe/sch/schBeaconProcess.c
	drivers/staging/prima/CORE/SAP/src/sapApiLinkCntl.c
	drivers/staging/prima/CORE/SAP/src/sapChSelect.c
	drivers/staging/prima/CORE/SAP/src/sapInternal.h
	drivers/staging/prima/CORE/SAP/src/sapModule.c
	drivers/staging/prima/CORE/SME/inc/csrApi.h
	drivers/staging/prima/CORE/SME/inc/csrInternal.h
	drivers/staging/prima/CORE/SME/inc/csrNeighborRoam.h
	drivers/staging/prima/CORE/SME/inc/csrSupport.h
	drivers/staging/prima/CORE/SME/inc/smeInside.h
	drivers/staging/prima/CORE/SME/inc/sme_Api.h
	drivers/staging/prima/CORE/SME/src/QoS/sme_Qos.c
	drivers/staging/prima/CORE/SME/src/ccm/ccmApi.c
	drivers/staging/prima/CORE/SME/src/csr/csrApiRoam.c
	drivers/staging/prima/CORE/SME/src/csr/csrApiScan.c
	drivers/staging/prima/CORE/SME/src/csr/csrInsideApi.h
	drivers/staging/prima/CORE/SME/src/csr/csrNeighborRoam.c
	drivers/staging/prima/CORE/SME/src/csr/csrTdlsProcess.c
	drivers/staging/prima/CORE/SME/src/csr/csrUtil.c
	drivers/staging/prima/CORE/SME/src/oemData/oemDataApi.c
	drivers/staging/prima/CORE/SME/src/pmc/pmc.c
	drivers/staging/prima/CORE/SME/src/pmc/pmcApi.c
	drivers/staging/prima/CORE/SME/src/rrm/sme_rrm.c
	drivers/staging/prima/CORE/SME/src/sme_common/sme_Api.c
	drivers/staging/prima/CORE/SME/src/sme_common/sme_FTApi.c
	drivers/staging/prima/CORE/SYS/legacy/src/pal/inc/palApi.h
	drivers/staging/prima/CORE/SYS/legacy/src/pal/inc/palPipes.h
	drivers/staging/prima/CORE/SYS/legacy/src/utils/src/macTrace.c
	drivers/staging/prima/CORE/TL/inc/wlan_qct_tl.h
	drivers/staging/prima/CORE/TL/src/wlan_qct_tl.c
	drivers/staging/prima/CORE/VOSS/inc/vos_types.h
	drivers/staging/prima/CORE/VOSS/src/vos_nvitem.c
	drivers/staging/prima/CORE/VOSS/src/vos_trace.c
	drivers/staging/prima/CORE/VOSS/src/vos_utils.c
	drivers/staging/prima/CORE/WDA/inc/legacy/halTypes.h
	drivers/staging/prima/CORE/WDA/inc/wlan_qct_wda.h
	drivers/staging/prima/CORE/WDA/src/wlan_qct_wda.c
	drivers/staging/prima/CORE/WDI/CP/inc/wlan_qct_wdi.h
	drivers/staging/prima/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
	drivers/staging/prima/CORE/WDI/CP/src/wlan_qct_wdi.c
	drivers/staging/prima/CORE/WDI/DP/inc/wlan_qct_wdi_ds.h
	drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.c
	drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.c
	drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_trace.c
	drivers/staging/prima/Kconfig
	drivers/staging/prima/Makefile
	drivers/staging/prima/firmware_bin/WCNSS_qcom_cfg.ini
	drivers/staging/prima/riva/inc/wlan_hal_cfg.h
	drivers/staging/prima/riva/inc/wlan_hal_msg.h