Depends on the year. If it's pre-1975, then you don't have anything to worry about. Regardless, the DMV doesn't check smog. Only a licensed testing station can do that, but you won't be able to get plates and register it if you can't pass smog if required.
There's also another caveat to the...