We compare the dense molecular gas content in two barred spiral galaxies, NGC 6764 (classified LINER) and NGC 5430 (a Wolf-Rayet galaxy). We find a significant difference in the proportion of dense molecular gas between the two galaxies. CS(3-2) is detected in NGC 6764 but not in NGC 5430, even though the intensities of CO(2-1) and HCN(1-0) are higher in the latter galaxy. The non detection in NGC 5430 indicates that the CS abundance in that galaxy is unusually low, or that HCN is subthermally excited. To complement these observations, we discuss the ionization source in the nucleus of the LINER galaxy NGC 6764.