Cleaning up your environment before upgrade (SharePoint Foundation 2010)

Before you begin upgrading from Windows SharePoint Services 3.0 to Microsoft SharePoint Foundation 2010, you should make sure that your environment is functioning in a healthy state and that you clean up any content that you do not have to upgrade. You can also take the time to remove or rearrange content so that you will have the structure that you want after you perform the upgrade.

https://technet.microsoft.com/en-us/library/ff382633.aspx